package com.ly.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("course_section")
public class CourseSection implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer courseId;
    private String sectionName;
    private String description;
    private Date createTime;
    private Date updateTime;
    private Integer isDel;
    private Integer orderNum;
    private Integer status;

    //@TableField(exist = false)
    //private List<CourseLesson> lessonList;//一个章节有多个课时


}
